home *** CD-ROM | disk | FTP | other *** search
- From: Mark.Baker@mettav.exnet.com (Mark Baker)
- Date: 11 Jul 94 12:58:18
- Message-Id: <UUCP.773956892@mettav>
- Subject: Digest
- To: gem-list@world.std.com (gem-list@world.std.com)
- Precedence: bulk
-
- Ken:
- > Busy looping? What do you call a "do { } while" ??? THAT'S a busy loop
- > if I ever SAW one!
-
- Depends what's in the do{}while. Put an event library aes call in it, or
- Pause() or Fselect() mint calls in it, and it's not busy waiting.
-
- > I don't quite understand what you mean by saying "low cost". It's just
- > about four lines of code that is easy to do. It takes almost no time,
- > because, it checks the object under the mouse. Here's something that does
- > almost EXACTLY the same thing as rectangle events:
-
- Your code only works if the event loop includes a timer event of very small
- duration. In which case it slows it down by having this code running regularly.
- Fine in a single-tasking system, but it will slow down background tasks.
-
- > The ONLY way you can find out which object is under the mouse is by using
- > objc_find. There is absolutely no other way to get rectangles under the
- > mouse without having to SAVE the physical dimensions of the rectangles,
- > storing those in an array, and checking the array every time the mouse
- > moves. That's slower, and I think that's what SOME of you are trying to
- > get at. This is the FASTEST idea I can think of off the top of my head.
- > Bench- marking may prove faster.
-
- No, what you do is you use objc_find to find the rectangle you need to watch
- and use mouse rectangle events to watch it.
-
- >> For broadcast messages, you have a point, but collecting non-broadcast
- >> message types is of no relevance. How many new broadcast message types
- >> currently exist? 0?
- >
- > It's nice to follow some standards. If you want to code for non-broadcast,
- > that's your choice. Most of us like to follow a list so they can find
- > out if they can create WM or WF messages as they wish, without clashing
- > with other messages.
-
- Why would you want to make a new broadcast message? And I can't think of any
- reason for a new wind_set/get mode.
-
- [Geneva]
- > Also if I remember correctly, anything allocated by applications 2 and 3
- > actually belong to *application 1*. This means Mallocs, file handles,
- > etc. Nasty.
-
- Yes because it is using the existing gemdos kernel which doesn't support
- multitasking. MagiC and MultiTOS replace the kernel as well as the aes.
-
- > I would imagine the reason for all this silliness is that Geneva does not
- > really replace AES, but simply hooks into it. If it actually replaced the
- > AES, I doubt any sane person would implement the replacement AES like
- > Geneva does :-)
-
- it really does replace the aes. It doesn't, however replace the kernel.
-
- Since it is cooperative multitasking how can you say it gives one application
- 25% or 50% of the CPU time anyway?
-
- Annius:
- > Experience shows that users hate to have to choose between different
- > (or has shown to me)
- > negative alternatives such as 'abort', 'cancel', 'abandon' etc.
-
- Like in DOS where you have a choice of abort and fail you mean? :)
-
-
-
-